package com.pan.hisystem.mapper;

import com.pan.hisystem.pojo.Patient;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author qingyang
 * @since 2022-03-13
 */
@Repository
public interface PatientMapper extends BaseMapper<Patient> {

    /**
     * 根据卡号获取就诊卡信息和患者信息（患者全部信息）
     * @param mid
     * @return
     */
    Patient getMessageByMid(String mid);
}
